package com.epam.task.xml.classes;

/**
 * Created with IntelliJ IDEA.
 * User: zhunusbekova.arailym
 * Date: 12.09.13
 * Time: 11:34
 * To change this template use File | Settings | File Templates.
 */
public class Analog {
    private String analogId;
    private String nameAnalog;

    public Analog() {

    }

    public Analog(String nameAnalog){
        this.nameAnalog = nameAnalog;
    }

    public Analog(String analogId, String nameAnalog) {
        this.analogId = analogId;
        this.nameAnalog = nameAnalog;
    }

    public String getNameAnalog() {
        return nameAnalog;
    }

    public void setNameAnalog(String nameAnalog) {
        this.nameAnalog = nameAnalog;
    }
    public String getAnalogId() {
        return analogId;
    }

    public void setAnalogId(String analogId) {
        this.analogId = analogId;
    }

    @Override
    public String toString() {
        return analogId + ". " + nameAnalog;
    }
}


